package com.bycx.system.service.impl;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bycx.core.service.BaseService;
import com.bycx.core.util.BeanUtil;
import com.bycx.system.mapper.ASysUserDetailMapper;
import com.bycx.system.model.ASysUser;
import com.bycx.system.model.ASysUserDetail;
import com.bycx.system.service.IASysUserDetailService;

@Service
public class ASysUserDetailServiceImpl implements IASysUserDetailService{
	@Autowired
	private ASysUserDetailMapper aSysUserDetailMapper;

	@Override
	public ASysUserDetail get(Map<String,Object> map){
		return aSysUserDetailMapper.get(map);//用mybatis对其中一个数据源进行查询
		 
	}
	@Override
	public List<ASysUserDetail> getList(Map<String,Object> map){
		//aSysUserDetailmapper.getList(map);用mybatis对其中一个数据源进行查询
		return aSysUserDetailMapper.getList(map);
	}
	
	@Override
	public void delete(List<String> ids){
		for(String id:ids)
		{
			aSysUserDetailMapper.deleteByPrimaryKey(id);
		}
	}
	@Override
	public void setBaseMapper() {
		// TODO Auto-generated method stub
		
	}
	@Override
	public ASysUserDetail getByPrimaryKey(Serializable primaryKey) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public ASysUserDetail get(String propName, String value) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public List<ASysUserDetail> getList(String propName, String value) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public void save(ASysUserDetail t) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void updateByPrimaryKey(ASysUserDetail t) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void deleteByPrimaryKey(Serializable primaryKey) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void deleteObj(List<ASysUserDetail> list) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void saveforUserInfo(ASysUserDetail obj, ASysUser aSysUser) {
		// TODO Auto-generated method stub
		
	}
	
}

